package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	var a int
	var b int32
	a = 15
	// b = a + a error
	b = int32(a) + int32(a)
	b = b + 5
	println(b, a)

	var c1 complex64 = 1 + 2i
	fmt.Printf("c1 = %v\n", c1)
	for i := 0; i < 10; i++ {
		a := rand.Int()
		fmt.Printf("%d /", a)
	}
	for i := 0; i < 5; i++ {
		r := rand.Intn(8)
		fmt.Printf("%d ", r)
	}
	fmt.Println()
	timens := int64(time.Now().UnixNano())
	rand.Seed(timens)
	for i := 0; i < 10; i++ {
		fmt.Printf("%d ", rand.Float32())
	}
}
